package com.zhaoran.dcruitmentzhaoran.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;



import com.baomidou.mybatisplus.annotations.Version;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author （- · -）赵冉专属代码
 * @since 2020-03-23
 */
@Data
@Accessors(chain = true)
public class Company extends Model<Company> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "gid", type = IdType.AUTO)
    private Integer gid;

    private String gname;

    private String desc;

    private String many;

    private Integer status;

    private String yewu;

    private String biaoqian;

    private Integer nid;

    @TableField("CEO")
    private String ceo;


    @Override
    protected Serializable pkVal() {
        return this.gid;
    }

}
